import http from '@/common/fetch';

// const { SPORTS_API } = process.env;
// eslint-disable-next-line
const SPORTS_API = process.env.SPORTS_API;

/**
 * 获取赛事列表
 */
export const getMatchList = (params) => http.get(`${SPORTS_API}/v1/pc/matchList`, { params });

// 足球赛事列表
export const getFootballMatchList = (params) => http.get('match/web/football/schedule', { params });
// 篮球赛事列表
export const getBasketballMatchList = (params) => http.get('match/web/basketball/schedule', { params });
